package com.hjc.springbootstudyweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by IntelliJ IDEA.
 * User: HJC
 * Date: 2019/12/1
 * Time: 13:48
 * To change this template use File | Settings | File Templates.
 */
@Controller
@RequestMapping("/nav")
public class pageController {

    @RequestMapping("games")
    public String games(){
        return "html/games";
    }
    @RequestMapping("index")
    public String index(){
        return "html/index";
    }
    @RequestMapping("blog")
    public String blog(){
        return "html/blog";
    }
    @RequestMapping("features")
    public String features(){
        return "html/features";
    }
    @RequestMapping("single")
    public String single(){
        return "html/single";
    }
    @RequestMapping("contact")
    public String contact(){
        return "html/contact";
    }
}
